package com.huaxiafinance.management.service;

import com.huaxiafinance.management.dto.request.AddScoreResupplymentDto;
import com.huaxiafinance.management.dto.request.QueryScoreResupplymentDto;
import com.huaxiafinance.management.model.ScoreResupplyment;
import com.huaxiafinance.management.util.MessageResult;

import java.io.InputStream;
import java.util.List;

/**
 * 积分补发接口,处理积分补发的相关业务
 * Created by hank on 2017/9/8.
 */
public interface ScoreResupplymentService {

  /**
   * 积分补发记录筛选
   */
  List<ScoreResupplyment> query(QueryScoreResupplymentDto dto);

  /**
   * 指定条件积分补发记录条数
   */
  Integer selectCount(QueryScoreResupplymentDto dto);

  /**
   * 批量补发积分
   */
  MessageResult insert(AddScoreResupplymentDto dto) throws Exception;

  /**
   * 通过excel批量添加
   */
  MessageResult batchAdd(InputStream inputStream, AddScoreResupplymentDto dto) throws Exception;

}
